package com.ply.flashsalessystem.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author XiaoPan
 * @since 2022-05-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AuthorityGroup对象", description="")
public class AuthorityGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "权限组id")
    @TableId(value = "authority_group_id", type = IdType.AUTO)
    private Integer authorityGroupId;

    @ApiModelProperty(value = "权限组name (角色名)")
    private String name;

    @ApiModelProperty(value = "角色说明")
    private String roleDescription;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer tombstone;
}
